<%--
    User: limeng
    Date: 16/8/31
    Time: 下午6:58
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style>
    .jc_newsList a {
        text-decoration: none;
        color: inherit;
    }
</style>
<div class="jc_left">
    <div class="jc_panel jc_panel_primary">
        <div class="jc_panel_header">
            通知公告
        </div>
        <div class="jc_panel_body">
            <ul class="jc_newsList" ng-repeat="article in noticeList">
                <li><a ng-href="#/viewArticle/{{article.id}}">
                    {{article.title}}&nbsp;&nbsp;[{{article.updateTime | date : 'yyyy-MM-dd'}}]
                </a></li>
            </ul>
        </div>
        <div class="jc_panel_footer">
            <a href="#/noticeList">[查看更多]</a>
        </div>
    </div>
    <div class="jc_panel jc_panel_primary">
        <div class="jc_panel_header">
            提案知识
        </div>
        <div class="jc_panel_body">
            <ul class="jc_newsList" ng-repeat="article in knowledgeList">
                <li><a ng-href="#/viewArticle/{{article.id}}">
                    {{article.title}}&nbsp;&nbsp;[{{article.updateTime | date : 'yyyy-MM-dd'}}]
                </a></li>
            </ul>
        </div>
        <div class="jc_panel_footer">
            <a href="#/knowledgeList">[查看更多]</a>
        </div>
    </div>
</div>
<div class="jc_right">
    <div class="jc_right_big" style="height: 200px;margin-bottom: 25px">
        <div class="pull-left">
            <img width="120px" height="160px" class="jc_big_image" src="/image/index/img1.jpg" />
        </div>
        <div class="pull-left" style="width: 500px; margin-left: 25px">
            <div class="jc_panel_lg">
                <div class="jc_panel_header_lg">
                    <div class="jc_header_text_lg">
                        NEW PROPOSALS
                    </div>
                    <div class="pull-left jc_header_text">
                        最新提案
                    </div>
                    <a href="#/newProposalList" class="jc_header_link">[查看更多]</a>
                </div>
                <div class="jc_panel_body_lg">
                    <ul class="jc_panel_list">
                        <li ng-repeat="proposal in newProposalList">
                            <a ng-href="#/viewProposal/{{proposal.id}}"><span class="newProposalsLi">{{proposal.title}}</span>
                            [{{proposal.updateTime | date : 'yyyy-MM-dd'}}]</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <div class="clear"></div>
    </div>

    <div class="jc_right_sm" style="min-height: 200px;">

        <div class="pull-left jc_panel" style="width:360px;">
            <div class="jc_panel_header">
                最热提案
            </div>
            <div class="jc_panel_body">
                <ul class="jc_newsList">
                    <li ng-repeat="proposal in hotestProposalList">
                        <a ng-href="#/viewProposal/{{proposal.id}}"><span class="smallProposalsLi">{{proposal.title}}</span>
                        [{{proposal.updateTime | date : 'yyyy-MM-dd'}}]</a>
                    </li>
                </ul>
            </div>
            <div class="jc_panel_footer">
                <a href="#/hotestProposalList">[查看更多]</a>
            </div>
        </div>

        <div class="pull-right jc_panel" style="width:360px">
            <div class="jc_panel_header">
                历年提案
            </div>
            <div class="jc_panel_body">
                <ul class="jc_newsList">
                    <li ng-repeat="config in historyList | orderBy:'closeTime':true">
                        <a ng-href="#/history/{{config.id}}">{{config.title}}</a>
                    </li>
                </ul>
            </div>
            <div class="jc_panel_footer">
                <a href="#/history">[查看更多]</a>
            </div>
        </div>
        <div class="clear"></div>
    </div>
</div>